package com.mis.clothespos.in.mapper;

import com.mis.clothespos.in.domain.In;

public interface InMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(In record);

    int insertSelective(In record);

    int checkIfOld(In record);


    //通过具体条件查询数据库相对应id
    int selectByDetail(In record);

    In selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(In record);

    int updateByPrimaryKey(In record);


    //增加库存
    int updateNumber(In record);
}